#ifndef __CORO_H__
#define __CORO_H__
typedef void (*fun_ptr)();
void sched(unsigned int tid);
int coro_spawn(fun_ptr f,unsigned char*);
void delayMs(int);
void delayTimerMSCheck(void);
void coroInit(void);
void wakeEvent(int wait_id);
void waitEvent(int wait_id);
int WaitTimeredEvent(int wait_id,  int timeout);
void fork(int task_id);
#endif
